<%--
  Created by IntelliJ IDEA.
  User: aming
  Date: 2023-07-11
  Time: 16:49
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
<form action="${pageContext.request.contextPath}/user?action=login" method="post">
    username: <input type="text" name="username" value="${cookie.username.value}">
            <input type="checkbox" name="remember" value="true" ${cookie.rememberStatus != null ?'checked':''}> 记住我
            <span style="color: red;">${error}</span>
    <br>
    password: <input type="password" name="password"> <br>

    <input type="submit" value="登录">
    
</form>
</body>
</html>
